var frisby = require('frisby');

frisby.create('天气图')
  .post('http://192.168.247.88:9090/hub/weather/getWeatherMapInfoNew', {
      'device-udid':'092700B6-2E6F-45D7-B55D-AEFACED48DDC'
    })


    // .inspectJSON()
  .expectJSONTypes({
      'result': {
         "value": String,
         "WeatherMaps": Array
      }})

  .expectJSONTypes('result.WeatherMaps.?', {
        "time":String,
        "url":String
    })
    .expectStatus(200)
.toss();
